QT       += core gui network mqtt sql charts opengl multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    AuthenticationCreate.cpp \
    AuthenticationList.cpp \
    AuthenticationMain.cpp \
    Component/AuthenticationCard.cpp \
    Component/DetailedCalendar.cpp \
    Component/DeviceCard.cpp \
    Component/HoverButton.cpp \
    Component/MessageCard.cpp \
    Component/MonitorCard.cpp \
    Component/MyMessageBox.cpp \
    DeviceEdit.cpp \
    DeviceList.cpp \
    DeviceMain.cpp \
    HistoricalData.cpp \
    MainWindow.cpp \
    Models/DeviceAuthentication.cpp \
    Models/DeviceData.cpp \
    Models/DeviceInformation.cpp \
    Models/WarnMessage.cpp \
    MonitorData.cpp \
    RealtimeData.cpp \
    Tools/MqttClient.cpp \
    Tools/SQLite.cpp \
    Tools/UiUpdateMediator.cpp \
    Tools/Warner.cpp \
    connectpage.cpp \
    main.cpp

HEADERS += \
    AuthenticationCreate.h \
    AuthenticationList.h \
    AuthenticationMain.h \
    Component/AuthenticationCard.h \
    Component/DetailedCalendar.h \
    Component/DeviceCard.h \
    Component/HoverButton.h \
    Component/MessageCard.h \
    Component/MonitorCard.h \
    Component/MyMessageBox.h \
    DeviceEdit.h \
    DeviceList.h \
    DeviceMain.h \
    HistoricalData.h \
    MainWindow.h \
    Models/DeviceAuthentication.h \
    Models/DeviceData.h \
    Models/DeviceInformation.h \
    Models/WarnMessage.h \
    MonitorData.h \
    RealtimeData.h \
    Tools/MqttClient.h \
    Tools/MyUrl.h \
    Tools/SQLite.h \
    Tools/UiUpdateMediator.h \
    Tools/Warner.h \
    connectpage.h

FORMS += \
    AuthenticationCreate.ui \
    AuthenticationList.ui \
    AuthenticationMain.ui \
    Component/AuthenticationCard.ui \
    Component/DetailedCalendar.ui \
    Component/DeviceCard.ui \
    Component/MessageCard.ui \
    Component/MonitorCard.ui \
    DeviceEdit.ui \
    DeviceList.ui \
    DeviceMain.ui \
    HistoricalData.ui \
    MainWindow.ui \
    MonitorData.ui \
    RealtimeData.ui \
    connectpage.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    Resources.qrc

DISTFILES += \
    Resources/database.svg \
    Resources/information.svg \
    Resources/mysql.svg \
    Resources/titleIcon.svg \
    Resources/warining.svg
